<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>dppsu: xdppsu_serdes.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">dppsu
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xdppsu__serdes_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xdppsu_serdes.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>Contains the set of functions used by the <a class="el" href="struct_x_dp_psu.html" title="The XDpPsu driver instance data. ">XDpPsu</a> driver to configure SERDES. </p>
<dl class="section note"><dt>Note</dt><dd>None.</dd></dl>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver     Who     Date    Changes
</p>
<hr/>
<p>
1.0   aad  01/27/17 Initial release.
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a8e083018091fb6116ba6db59cd22b083"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdppsu__serdes_8c.html#a8e083018091fb6116ba6db59cd22b083">XDpPsu_SetVswingPreemp</a> (<a class="el" href="struct_x_dp_psu.html">XDpPsu</a> *InstancePtr, u8 *AuxData)</td></tr>
<tr class="memdesc:a8e083018091fb6116ba6db59cd22b083"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets current voltage swing and pre-emphasis level settings from the LinkConfig structure to hardware.  <a href="#a8e083018091fb6116ba6db59cd22b083">More...</a><br/></td></tr>
<tr class="separator:a8e083018091fb6116ba6db59cd22b083"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b4f123e79adab601eb821afeab3e81d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdppsu__serdes_8c.html#a8b4f123e79adab601eb821afeab3e81d">XDpPsu_CfgTxVsLevel</a> (<a class="el" href="struct_x_dp_psu.html">XDpPsu</a> *InstancePtr, u8 Level, u8 TxLevel)</td></tr>
<tr class="memdesc:a8b4f123e79adab601eb821afeab3e81d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the voltage swing level value in the DisplayPort TX that will be used during link training for a given voltage swing training level.  <a href="#a8b4f123e79adab601eb821afeab3e81d">More...</a><br/></td></tr>
<tr class="separator:a8b4f123e79adab601eb821afeab3e81d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3368e5a71553a4f24719aee485e04e7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdppsu__serdes_8c.html#ae3368e5a71553a4f24719aee485e04e7">XDpPsu_CfgTxPeLevel</a> (<a class="el" href="struct_x_dp_psu.html">XDpPsu</a> *InstancePtr, u8 Level, u8 TxLevel)</td></tr>
<tr class="memdesc:ae3368e5a71553a4f24719aee485e04e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the pre-emphasis level value in the DisplayPort TX that will be used during link training for a given pre-emphasis training level.  <a href="#ae3368e5a71553a4f24719aee485e04e7">More...</a><br/></td></tr>
<tr class="separator:ae3368e5a71553a4f24719aee485e04e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ae3368e5a71553a4f24719aee485e04e7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XDpPsu_CfgTxPeLevel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_dp_psu.html">XDpPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Level</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>TxLevel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the pre-emphasis level value in the DisplayPort TX that will be used during link training for a given pre-emphasis training level. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_dp_psu.html" title="The XDpPsu driver instance data. ">XDpPsu</a> instance. </td></tr>
    <tr><td class="paramname">Level</td><td>is the pre-emphasis training level to set the DisplayPort TX level for. </td></tr>
    <tr><td class="paramname">TxLevel</td><td>is the DisplayPort TX pre-emphasis level value to be used during link training.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>There are 32 possible pre-emphasis levels in the DisplayPort TX core that map to 4 possible pre-emphasis training levels in the RX device. </dd></dl>

<p>References <a class="el" href="struct_x_dp_psu.html#af8952657e039d59dd16a286378e54642">XDpPsu::BoardChar</a>, and <a class="el" href="struct_x_dp_psu___board_char.html#a1e51617b7fe0ed4dfd911d89c3d72325">XDpPsu_BoardChar::TxPeLevels</a>.</p>

</div>
</div>
<a class="anchor" id="a8b4f123e79adab601eb821afeab3e81d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XDpPsu_CfgTxVsLevel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_dp_psu.html">XDpPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Level</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>TxLevel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets the voltage swing level value in the DisplayPort TX that will be used during link training for a given voltage swing training level. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_dp_psu.html" title="The XDpPsu driver instance data. ">XDpPsu</a> instance. </td></tr>
    <tr><td class="paramname">Level</td><td>is the voltage swing training level to set the DisplayPort TX level for. </td></tr>
    <tr><td class="paramname">TxLevel</td><td>is the DisplayPort TX voltage swing level value to be used during link training.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>There are 16 possible voltage swing levels in the DisplayPort TX core that map to 4 possible voltage swing training levels in the RX device. </dd></dl>

<p>References <a class="el" href="struct_x_dp_psu.html#af8952657e039d59dd16a286378e54642">XDpPsu::BoardChar</a>, and <a class="el" href="struct_x_dp_psu___board_char.html#a9a37d526365c5707bddeaf9ba7d2248e">XDpPsu_BoardChar::TxVsLevels</a>.</p>

</div>
</div>
<a class="anchor" id="a8e083018091fb6116ba6db59cd22b083"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XDpPsu_SetVswingPreemp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_dp_psu.html">XDpPsu</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>AuxData</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets current voltage swing and pre-emphasis level settings from the LinkConfig structure to hardware. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_dp_psu.html" title="The XDpPsu driver instance data. ">XDpPsu</a> instance. </td></tr>
    <tr><td class="paramname">AuxData</td><td>is a pointer to the array used for preparing a burst write over the AUX channel.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if writing the settings was successful.</li>
<li>XST_FAILURE otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_dp_psu.html#a37e28c28f46f7e08ce4738a9232a0678">XDpPsu::LinkConfig</a>, <a class="el" href="struct_x_dp_psu___link_config.html#a6157c199c9f3129e999c48301926bce9">XDpPsu_LinkConfig::PeLevel</a>, and <a class="el" href="struct_x_dp_psu___link_config.html#a11df7b48a818526775ed8228e31da551">XDpPsu_LinkConfig::VsLevel</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
